/*
 * Created on Jun 24, 2005
 *
 */
package com.erclab.internal.xpresso.util;

import com.erclab.internal.xpresso.dataAccess.ApplicationDataSource;
import com.erclab.internal.xpresso.exceptions.ObjectCreatorException;

/**
 * @author Enrique Rodriguez.
 *
 */
public interface ObjectCreator {
	
	public void createForm(String objectName, 
							String objectTarget,
							String uniqueKeyName,
							String parentKeyName, 
							int idDatasourceRead, 
							int idDatasource) throws ObjectCreatorException;

	public void createReport(String objectName, 
								String objectTarget,
								String reportQuery,
								String uniqueKeyName, 
								int idDatasourceRead, 
								int idDatasourceWrite) throws ObjectCreatorException;
	
	public void createReportElement(String columnName, String idReport, ApplicationDataSource ads) throws ObjectCreatorException;
	

}
